lcQuadTransXYtoUV Home

Converts XY coordinates of a point placed inside of quadrilateral to square UV coordinates (square size is 1.0).

 BOOL lcQuadTransXYtoUV (
   HANDLE hQuad,
   double X,
   double Y,
   double* pU,
   double* pV
 );

Parameters
hQuad
  Handle to quadrilateral object.
X Y
  Coordinates of a point inside of quadrilateral.
pU pV
  Pointers to variables that will receive coordinates of output point.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  lcQuadTransUVtoXY